﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace 窗口依附测试
{
    public partial class FrmA : Form
    {
        public FrmA()
        {
            InitializeComponent();
        }

        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            FrmB frmB = new FrmB();
            frmB.MdiParent = this;
            frmB.Show();
        }

        private void toolStripButton2_Click(object sender, EventArgs e)
        {
            FrmC frmC = new FrmC();
            frmC.MdiParent = this;
            frmC.Show();
        }

        private void toolStripButton3_Click(object sender, EventArgs e)
        {
            FrmD frmD = new FrmD();
            frmD.MdiParent = this;
            frmD.Show();
        }
    }
}
